<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title></title>	
		<link rel="stylesheet" href="/assets/css/core.css" />
		<link rel="stylesheet" href="/assets/css/menu.css" />
		<link rel="stylesheet" href="/assets/css/amazeui.css" />
		<link rel="stylesheet" href="/assets/css/component.css" />
		<link rel="stylesheet" href="/assets/css/page/form.css" />
	</head>
	<body>
		<div class="account-pages">
			<div class="wrapper-page">
				<div class="text-center">
	                <a href="/main/index" class="logo"><span>欢迎<span>管理员</span></span></a>
	            </div>
	            
	            <div class="m-t-40 card-box">
	            	<div class="text-center">
	                    <h4 class="text-uppercase font-bold m-b-0">管理员登陆</h4>
	                </div>
	                <div class="panel-body">
	                	<form class="am-form" action="/main/login" method="POST">
	                		<div class="am-g">
	                			<div class="am-form-group">
							      <input type="text" class="am-radius" name="uname" value="admin" id="uname" placeholder="账号只能为数字字母">
							    </div>
							
							    <div class="am-form-group form-horizontal m-t-20">
							      <input type="password" name="password" class="am-radius" value="admin" id="password" placeholder="密码长度不能低于6位">
							    </div>
<!--							    
							    <div class="am-form-group ">
		                           	<label style="font-weight: normal;color: #999;">
								        <input type="checkbox" class="remeber"> Remember me
								    </label>
		                        </div>-->
		                        
		                        <div class="am-form-group ">
		                        	<button type="submit" class="am-btn am-btn-primary am-radius" style="width: 100%;height: 100%;">登陆</button>
		                        </div>
		                        
		                        <div class="am-form-group ">
		                        <a href="page-recoverpw.html" class="text-muted"><i class="fa fa-lock m-r-5"></i> 忘记密码?</a>
		                        </div>
	                		</div>

	                	</form>
							
	                </div>
	            </div>
			</div>
		</div>
	</body>
    		
		<script type="text/javascript" src="/assets/js/jquery-2.1.0.js" ></script>
    <script>
        // $(function(){
        //     $("button").click(function(){
        //         var username=$("#uname").val()
        //         var userpwd=$("#password").val()
        //         // var Regx = /^[A-Za-z0-9]+$/i;
        //         // if(username.length<6 || Regx.test(username)){
        //         //     alert("用户名格式错误")
        //         //     return
        //         // }
        //         // if(userpwd.length<6){
        //         //     alert("密码格式错误")
        //         //     return
        //         // }
        //         $.post("/login/login",{username:username,pwd:userpwd},function(data){
        //             if(data.status==0){
        //                 alert(data.msg)
        //             }else{
        //                 window.location.href=data["url"]
        //             }
        //         },"json")
        //     });
        // });
    </script>
</html>
